package com.hhkj.study.admin.order.model.podo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hhkj.study.admin.order.entity.OrderItem;
import lombok.Data;

import lombok.EqualsAndHashCode;

import java.util.Date;

/**
*
* @author SERVER
* @since 2024-09-18
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderItemPo extends OrderItem {

    /**
     * 订单号
     */
    private String orderCode;

    /**
     * 订单时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderCreateTime;


    /**
     * 总订单价格
     */
    private Integer orderTotalPrice;
    /**
     * 实际付款
     */
    private Integer orderPayPrice;

    /**
     * 订单状态
     */
    private String orderStatus;

    /**
     * 商品分类id
     */
    private Long goodCategoryId;

    /**
     * 商品分类类型 一级建造师/二级建造师等
     */
    private String goodCategoryName;

}